Temperature threshold application signal trigger for real-time relocation of process

ABSTRACT

A method of managing a process relocation operation in a computing system is provided and includes determining respective operating temperatures of first, second and additional nodes of the system, where the first node has an elevated operating temperature and the second node has a normal operating temperature, notifying first and second kernels respectively associated with the first and second nodes, of a swapping condition, initially managing the first and second kernels to swap an application between the first and the second nodes while the swapping condition is in effect, and secondarily managing the first and second kernels to perform a barrier operation to end the swapping condition.

BACKGROUND OF THE INVENTION

1. Field of the Invention

Aspects of the present invention are directed to a method and a systemfor process relocation and, more particularly, to a method and a systemfor process relocation based on a temperature threshold.

2. Description of the Background

In conventional computing environments, computing systems include racksof components running various applications simultaneously. Since many ofthese components run continuously, it is necessary to provide thecomponents with a cooling system that is configured to prevent theoperating temperatures of the components from increasing beyonddangerous levels. The cooling systems thereby serve to maintainoperating efficiencies of the components and prevent damages that mayresult from highly elevated operating temperatures.

Typically, a conventional cooling system for a computing system includesdevices and apparatuses that are configured to generate airflow overand/or through the components. This airflow may be fed from external airand/or recycled air and tends to remove heat generated by the computingsystem from the components to thereby cool the components duringcomputing operations.

A problem with the conventional cooling system persists, however, inthat the airflow may be insufficient to cool each of the components.This may be due to the fact that the heat generated by the computingsystem overwhelms the ability of the airflow to remove heat from thecomponents or the fact that the airflow may not be effectivelyadministered to each component. In any case, where particular componentsare not sufficiently cooled by the conventional cooling system, damageto the components may ensue.

SUMMARY OF THE INVENTION

In accordance with an aspect of the invention, a computing system inwhich process relocation operations are managed is provided and includesa set of nodes, including a first node to run an application and othernodes, a temperature measurement system configured to determine anoperating temperature of each of the nodes, and a set of kernels,respectively installed in each of the nodes, which are configured tocommunicate with one another and the temperature measurement system tothereby swap the running of the application from the first node toanother node when the operating temperatures of the first node and theother node are each determined to be elevated and normal, respectively.

In accordance with another aspect of the invention, a computing systemin which process relocation operations are managed is provided andincludes a set of nodes, including a first node to run an applicationand other nodes, a temperature measurement system configured todetermine an operating temperature of each of the nodes, a controlsystem configured to communicate with the temperature measurement systemto compile the operating temperatures of each of the nodes, and a set ofkernels, respectively installed in each of the nodes, which areconfigured to communicate with one another and the control system tothereby swap the running of the application from the first node toanother node when the operating temperatures of the first node and theother node are each determined to be elevated and normal, respectively.

In accordance with another aspect of the invention, a method of managinga process relocation operation in a computing system is provided andincludes determining respective operating temperatures of first, secondand additional nodes of the system, where the first node has an elevatedoperating temperature and the second node has a normal operatingtemperature, notifying first and second kernels respectively associatedwith the first and second nodes, of a swapping condition, initiallymanaging the first and second kernels to swap an application between thefirst and the second nodes while the swapping condition is in effect,and secondarily managing the first and second kernels to perform abarrier operation to end the swapping condition.

Additional features and advantages are realized through the techniquesof the present invention. Other embodiments and aspects of the inventionare described in detail herein and are considered a part of the claimedinvention. For a better understanding of the invention with advantagesand features, refer to the description and to the drawings.

BRIEF DESCRIPTIONS OF THE DRAWINGS

The subject matter regarded as the invention is particularly pointed outand distinctly claimed in the claims at the conclusion of thespecification. The foregoing and other aspects, features, and advantagesof the invention are apparent from the following detailed descriptiontaken in conjunction with the accompanying drawings in which:

FIG. 1 is a view of a computing system according to embodiments of theinvention; and

FIG. 2 is a flow diagram illustrating a method of managing a processrelocation operation in a computing system according to embodiments ofthe invention.

DETAILED DESCRIPTION OF THE INVENTION

With reference to FIG. 1, a computing system 1 is provided in whichprocess relocation operations are managed in accordance with measuredoperating temperatures of nodes 10 and 20. The computing system 1 may beany computing apparatus, such as a rack mounted set of individualdevices (e.g., personal computers, networked computers and/or servers).Each individual device is a node 10 and 20 and, while FIG. 1 provides anillustration of two devices, the computing system 1 will likely includemany more. In addition, according to embodiments of the invention, acooling system 50, such as a fan, may be provided proximate to thecomputing system 1 to generate airflow 55 that serves to partially coolthe nodes 10 and 20.

Each of the nodes 10 and 20 includes a kernel 11 and 21 and isconfigured to allow an application 12 and 22 to run thereon. That is,each node 10 and 20 may be provided with an appropriate file system andmemory along with components installed therein that are sufficient forrunning the application 12 and 22. In particular, where the application12 runs on the node 10, the kernel 11 manages the performance and theoperation of the application 12. In this capacity, the kernel 11 isconfigured to communicate with various other components, such as thekernel 21, the control system 30 (where appropriate) and the temperaturemeasurement unit 40.

The temperature measurement system 40 is configured to determine anoperating temperature of each of the nodes 10 and 20. In this capacity,the temperature measurement system 40 may include temperature gauges 40a and 40 b that are local to nodes 10 and 20, respectively, or someother suitable device for temperature measurement of the nodes 10 and 20that may either be local to the nodes 10 and 20 or remote. Further, thetemperature measurement system 40 may be configured to communicate suchmeasurements to the kernels 11 and 21 and, where appropriate, to thecontrol system 30. This way, when the operating temperature of node 10is elevated and the operating temperature of node 20 is normal, as shownin FIG. 1, appropriate measures may be taken to mitigate any issues thatmay arise.

One such measure involves the swap of the running of the application 12from node 10 to node 20. The swap may include simply ending the runningof the application 12 on node 10 and starting the same on node 20 and/oradditionally moving text, global data, stack and heap of the application12 between node 10 and node 20. Following the swap, at least one of thekernels 11 and 21 may notify the application 12 of the swap and at leastone of the kernels 11 and 21 may perform a barrier operation. Thebarrier operation may include the sending of a signal to the variouskernels that indicates that the swap has occurred and that an additionalswap is not currently required.

In this way, node 10 may be given an opportunity to at least partly shutdown and cool while node 20 runs the application 12. While application12 may experience a delay during the swap, a length of such a delay willbe shorter than the time lost due to the running of the application 12slowly on an overheated node 10 or a crash of node 10. It is furtherunderstood that node 20 may not have all of the necessary softwareinstalled therein to run application 12 when the swap occurs. As such, alength of any delay during the swap may be increased if node 20 requiresthat a software installation operation be conducted before theapplication 12 can be run thereon. Even in this case, however, a lengthof any delay will still be relatively short.

As an additional matter, as long as the risk of running the application12 on node 10 is determined to be below a certain risk-level threshold,such as a situation in which the application 12 will be expected to runslowly but not crash, the swap from node 10 to node 20 may be overriddeneven where the operating temperatures of nodes 10 and 20 are elevatedand normal, respectively. Here, if node 10 includes a much fasterprocessor than node 20 or if node 20 is already fully queued withapplication 22 or other work, it may be determined that the swap willnot result in an advantageous situation. In this case, the swap may bedelayed or cancelled until more advantageous circumstances arise.Alternatively, the swap may be delayed while a search for a moreavailable node is conducted.

As a further additional matter, it is understood that the application 12may be swapped from node 10 to more than one node if the target nodesare available, found to have normal operating temperatures, and if thenodes are known to have the capability of running application 12together.

In accordance with at least a first embodiment of the invention, thekernel 11 of the first node 10 is configured to be interrupted upon thedetermination that the operating temperature of the first node 10 iselevated. Here, the interruption of the kernel 11 may include anautomatic interruption of the running of the application 12 so as toallow for an immediate partial shut down of node 10 for coolingpurposes. Alternatively, the interruption may be simply a notificationof the overheated condition of node 10 that indicates to the kernel 11that other systems within node 10 may need to be temporarily shut down,that a search for another node to swap application 12 with is requiredor a combination of these items and others.

Once the kernel 11 is notified of the overheated condition of the node10, the kernel 11 communicates with the kernel 21 of node 20 and anyother kernels of present nodes. This communication may include abroadcast from kernel 11 to at least kernel 21 that the operatingtemperature of the first node 10 is elevated, a request for datareflective of the operating temperature of node 20, and a reception ofthe operating temperature data. Assuming that the operating temperatureof node 20 is determined to be normal, kernel 11 selects node 20 to swapapplication 12 with. As such, nodes 10 and 20 may further includereception/transmission units 13 and 23 and processing units 14 and 24,which are coupled to the reception/transmission units 13 and 23. Thereception/transmission units 13 and 23 and the processing units 14 and24 are disposed within the respective nodes 10 and 20 and operated bykernels 11 and 21.

As noted above, once node 20 is selected, kernel 11 and kernel 21communicate and thereby swap application 12 from node 10 to node 20.Again, the swap may include simply ending the running of the application12 on node 10 and starting the same on node 20 or additionally movingtext, global data, stack and heap of the application 12 between thefirst node 10 and node 20. Following the swap, at least one of thekernels 11 and 21 may notify the application 12 of the occurrence of theswap and at least one of the kernels 11 and 21 may perform a barrieroperation. The barrier operation includes the sending of a signal to atleast various kernels 11 and 21 that indicates that the swap hasoccurred and that an additional swap is not currently required.

In accordance with at least a second embodiment of the invention, thecomputing system 1 may further comprise a control system 30, which isconfigured to communicate with the temperature measurement system 40 tothereby compile the operating temperatures of each of the nodes 10 and20 and with the kernels 11 and 21. Here, the control system 30 may berun on one or more of the nodes 10 and 20 in a networked fashion or maybe remote. Where the control system 30 is remote, the control system 30may include a separate computing apparatus which is coupled to thecomputing system 1 and which has software installed thereon tocommunicate with the temperature measurement system 40 and the kernels11 and 21. In any case, in accordance with this embodiment, thedeterminations of whether nodes 10 and 20 are overheated and theselection of node 20, with which node 10 swaps application 12, are madeby the control system 30.

As noted above, the temperature measurement system 40 may includetemperature gauges 40 a and 40 b that are local to nodes 10 and 20,respectively, or some other suitable device for temperature measurementof the nodes 10 and 20 that may either be local to the nodes 10 and 20or remote. In any case, the control system 30 is configured to poll thetemperature measurement system 40 for the operating temperature of eachof the nodes 10 and 20. Then, once the control system 30 has compiledthe operating temperature measurements, in accordance with the exampleshown in FIG. 1, the control system 30 determines that node 10 isoverheated and that node 20 has a normal operating temperature. As such,the control system 30 selects node 20 as a swap candidate for node 10and notifies the kernels 11 and 21 that a swap of application 12 fromnode 10 to node 20 is to occur. To these ends, the control system 30 mayinclude a reception/transmission unit 33, which is configured tocommunicate with the kernels 11 and 21, and a processing unit 34,coupled to the reception/transmission unit 33.

With reference to FIG. 2, a method of managing a process relocationoperation in a computing system 1 is provided and includes determiningrespective operating temperatures of first, second and additional nodes10 and 20 of the system 1 (operation 100). Where the first node 10 hasan elevated operating temperature and the second node 20 has a normaloperating temperature, the method further includes notifying first andsecond kernels 11 and 21 respectively associated with the first andsecond nodes 10 and 20, of a swapping condition (operation 110). At thispoint, the method includes initially managing the first and secondkernels 11 and 21 to swap an application 12 between the first and thesecond nodes 10 and 20 while the swapping condition is in effect(operation 120), and secondarily managing the first and second kernels11 and 21 to perform a barrier operation to end the swapping condition(operation 130).

Still referring to FIG. 2, the method may further include notifying theapplication 12 of the swap (operation 140). In addition, the initialmanagement of the first and second kernels 11 and 21 to swap anapplication 12 between the first and the second nodes 10 and 20 mayinclude swapping text, global data, stack and heap of the application(operation 125) and the barrier operation may include notifying at leastthe first and second nodes 10 and 20 that the swapping condition isended (operation 135).

The determining of the operating temperatures may include measuring theoperating temperature of the first, the second and the additional nodes10 and 20 of the system 1 (operation 105) and/or remotely recording theoperating temperatures of the first, the second and the additional nodes10 and 20 of the system 1 (operation 106). Here, the operatingtemperature of the first node 10 may be broadcasted to the first kernel11, the second kernel 21 and kernels of the additional nodes.Conversely, the operating temperature of the second kernel 21 may bereceived from the second kernel 21 and kernels of the additional nodes.

As noted above, in accordance with an embodiment of the invention, themethod may further include cancelling or otherwise delaying the swappingcondition (operation 150) before the initial management of the first andsecond kernels 11 and 21. Here, as long as the risk of running theapplication 12 on node 10 is determined to be below a certain threshold,such as where the application will be expected to run slowly but notcrash, the swap from node 10 to node 20 may be overridden even where theoperating temperatures of nodes 10 and 20 are elevated and normal,respectively. That is, if node 10 includes a much faster processor thannode 20 or if node 20 is already fully queued with application 22 orother work, it may be determined that the swap will not be advantageous.

In accordance with an aspect of the invention, the methods describedabove may be embodied as a computer or machine readable medium havinginstructions stored thereon to execute the method.

While the disclosure has been described with reference to exemplaryembodiments, it will be understood by those skilled in the art thatvarious changes may be made and equivalents may be substituted forelements thereof without departing from the scope of the disclosure. Inaddition, many modifications may be made to adapt a particular situationor material to the teachings of the disclosure without departing fromthe essential scope thereof. Therefore, it is intended that thedisclosure not be limited to the particular exemplary embodimentdisclosed as the best mode contemplated for carrying out thisdisclosure, but that the disclosure will include all embodiments fallingwithin the scope of the appended claims.

1. A computing system in which process relocation operations aremanaged, the system comprising: a set of nodes, including a first nodeto run an application and other nodes; a temperature measurement systemconfigured to determine an operating temperature of each of the nodes;and a set of kernels, respectively installed in each of the nodes, whichare configured to communicate with one another and the temperaturemeasurement system to thereby swap the running of the application fromthe first node to another node when the operating temperatures of thefirst node and the other node are each determined to be elevated andnormal, respectively.
 2. The system according to claim 1, wherein thetemperature measurement system comprises a set of temperature measuringunits which are each local to a corresponding one of the nodes.
 3. Thesystem according to claim 1, wherein text, global data, stack and heapof the application are swapped between the first node and the othernode.
 4. The system according to claim 1, wherein at least one of thekernels is configured to notify the application of the swap.
 5. Thesystem according to claim 1, wherein at least one of the kernels isconfigured to perform a barrier operation following the swap to end theswapping condition, the barrier operation comprising indicating to otherkernels that the swap has occurred and that an additional swap is notcurrently required.
 6. The system according to claim 1, wherein thekernel of the first node is configured to be interrupted upon thedetermination that the operating temperature of the first node iselevated.
 7. The system according to claim 1, wherein the kernel of thefirst node is configured to broadcast that the operating temperature ofthe first node is elevated to the other nodes.
 8. The system accordingto claim 7, wherein the kernel of the first node is further configuredto select the other node when the operating temperature of the othernode is determined to be normal.
 9. A computing system in which processrelocation operations are managed, the system comprising: a set ofnodes, including a first node to run an application and other nodes; atemperature measurement system configured to determine an operatingtemperature of each of the nodes; a set of kernels, respectivelyinstalled in each of the nodes, which are configured to communicate withone another; a control system, configured to communicate with thetemperature measurement system to compile the operating temperatures ofeach of the nodes and with the set of the kernels, and furtherconfigured to instruct the kernels to swap the running of theapplication from the first node to another node when the operatingtemperatures of the first node and the other node are each determined tobe elevated and normal, respectively.
 10. The system according to claim9, wherein the temperature measurement system comprises a set oftemperature measuring units which are each local to a corresponding oneof the nodes.
 11. The system according to claim 9, wherein the controlsystem is configured to poll the temperature measurement system for theoperating temperature of each of the nodes.
 12. The system according toclaim 9, wherein the control system is configured to select the othernode.
 13. A method of managing a process relocation operation in acomputing system, comprising: determining respective operatingtemperatures of first, second and additional nodes of the system, thefirst, second and additional nodes of the system being configured tocommunicate with one another; where the first node has an elevatedoperating temperature and the second node has a normal operatingtemperature, notifying first and second kernels respectively associatedwith the first and second nodes, of a swapping condition; initiallymanaging the first and second kernels to swap an application between thefirst and the second nodes while the swapping condition is in effect;and secondarily managing the first and second kernels to perform abarrier operation to end the swapping condition.
 14. The methodaccording to claim 13, further comprising notifying the application ofthe swap.
 15. The method according to claim 13, wherein the initialmanagement of the first and second kernels to swap an applicationbetween the first and the second nodes comprises swapping text, globaldata, stack and heap of the application.
 16. The method according toclaim 13, wherein the barrier operation comprises notifying at least thefirst and second nodes that the swapping condition is ended by anindication that the swap has occurred and an indication that anadditional swap is not currently required.
 17. The method according toclaim 13, wherein the determining of the operating temperature comprisesmeasuring the operating temperature of the first, the second and theadditional nodes of the system.
 18. The method according to claim 13,further comprising: broadcasting the operating temperature of the firstnode to the second kernel and kernels of the additional nodes; andreceiving the operating temperature from the second kernel and kernelsof the additional nodes.
 19. The method according to claim 13, whereinthe determining of the operating temperatures comprises remotelyrecording the operating temperatures of the first, the second and theadditional nodes of the system.
 20. The method according to claim 13,further comprising cancelling the swapping condition before the initialmanagement of the first and second kernels.
 21. The method according toclaim 13, further comprising delaying the swapping condition untiladvantageous conditions arise.
 22. The method according to claim 13,further comprising delaying the swapping condition while a node searchis conducted.